package com.naiterui.ehp.bs.doctor.vo;

import java.util.List;

import com.google.common.collect.Lists;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
  * @Description 城市VO
 */
@Data
@ApiModel(value = "CityVO", description = "城市VO")
public class CityVO implements java.io.Serializable {

    private static final long serialVersionUID = 2080557554382194076L;

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "地址名称")
	private String name;

    @ApiModelProperty(value = "类型:0:全国 1:省 2;市 3:区")
	private Integer type;

    @ApiModelProperty(value = "父级ID")
	private Integer parentId;

    @ApiModelProperty(value = "城市子节点")
    private List<CityVO> children = Lists.newArrayList();

}